"""
Miscellaneous items used in my source code.
"""

class UserCancelled(Exception):
	"""
	Thrown if the user cancels an operation.
	"""
	def __init__(self,op):
		self.op = op
	def __str__(self):
		return "Did not " + self.op + " because the operation was cancelled."
